﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using AnesSystem.ViewModels;
using AnesSystem.Controls;
using AnesSystem.Models;
using System.Xml;

namespace AnesSystem.Controls.CommonTables.CQ.TLRMYY
{
    /// <summary>
    /// ZhiKongXingXiCtrl.xaml 的交互逻辑
    /// </summary>
    public partial class ZhiKongXingXiCtrl : CustomCommonTableCtrl
    {
        public ZhiKongXingXiCtrl()
        {
            InitializeComponent();
            //this.DataContext = ZhiKongXingXiViewModel.Instance;
            this.Loaded += ZhiKongXingXiCtrl_Loaded;
        }

        private void ZhiKongXingXiCtrl_Loaded(object sender, RoutedEventArgs e)
        {
           // FillValue();
        }

        private void CustomCheckBoxCtrl_CheckChanged(object sender, RoutedEventArgs e)
        {
            CustomCheckBoxCtrl customBox = sender as CustomCheckBoxCtrl;
            bool checktrue = customBox.IsChecked;
            if (checktrue)
            {
                //sjss.Value = true;
            }
        }
    }
}
